Pronamic\WordPress\Pay\Payments\Payment B

Total Complexity 83
Dependencies 13
Dependents 28
Total lines 873
Lines of code 351
Logical lines of code 176
Comment lines 365
Methods 37
Properties 14

Methods 37

Method Rating Maintainability Complexity Lines of code
from_json()
B
41 19 56
get_json()
A
40 14 63
get_provider_link()
S
57 4 17
add_note()
S
52 3 29
format_string()
S
57 3 18
get_source_text()
S
58 2 15
get_return_url()
S
60 2 14
add_period()
S
69 2 7
add_subscription()
S
70 2 6
get_subscription()
S
69 2 7
get_source_link()
S
64 2 10
get_source_description()
S
64 2 10
__construct()
S
64 2 10
set_status()
S
81 1 3
get_charged_back_amount()
S
82 1 3
set_transaction_id()
S
81 1 3
get_transaction_id()
S
82 1 3
get_periods()
S
82 1 3
get_email()
S
82 1 3
get_total_amount()
S
82 1 3
set_total_amount()
S
81 1 3
get_subscriptions()
S
82 1 3
get_refunded_amount()
S
82 1 3
set_refunded_amount()
S
81 1 3
set_charged_back_amount()
S
81 1 3
get_failure_reason()
S
82 1 3
get_status()
S
82 1 3
get_edit_payment_url()
S
65 1 10
get_return_redirect_url()
S
70 1 6
set_expiry_date()
S
81 1 3
get_expiry_date()
S
82 1 3
set_action_url()
S
81 1 3
save()
S
81 1 3
get_status_label()
S
80 1 3
get_pay_redirect_url()
S
65 1 10
set_failure_reason()
S
81 1 3
get_action_url()
S
82 1 3